package controle.valida;

import javax.swing.InputVerifier;
import javax.swing.JComponent;
import javax.swing.JTextField;

public class PassVerifier extends InputVerifier {
	 public boolean verify(JComponent input) {
         JTextField tf = (JTextField) input;
        
         return "pass".equals(tf.getText());
   }

}
